/**
 * 
 * The MIT License
 * 
 * Copyright (c) 2008 the original author or authors.
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:

 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.

 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

package com.googlecode.gchartjava;

/**
 * An implementation of {@link PoliticalBoundary}. Herein you can find all the
 * US States.
 * 
 * @author Julien Chastang (julien.c.chastang at gmail dot com)
 * 
 * @see PoliticalBoundary
 * @see Country
 * @see MapChart
 */

public class USAState extends AbstractPoliticalBoundary {
	
	public static final String ALABAMA = "AL";
	public static final String ALASKA = "AK";
	public static final String ARIZONA = "AZ";
	public static final String ARKANSAS = "AR";
	public static final String CALIFORNIA = "CA";
	public static final String COLORADO = "CO";
	public static final String CONNECTICUT = "CT";
	public static final String DELAWARE = "DE";
	public static final String FLORIDA = "FL";
	public static final String GEORGIA = "GA";
	public static final String HAWAII = "HI";
	public static final String IDAHO = "ID";
	public static final String ILLINOIS = "IL";
	public static final String INDIANA = "IN";
	public static final String IOWA = "IA";
	public static final String KANSAS = "KS";
	public static final String KENTUCKY = "KY";
	public static final String LOUISIANA = "LA";
	public static final String MAINE = "ME";
	public static final String MARYLAND = "MD";
	public static final String MASSACHUSETTS = "MA";
	public static final String MICHIGAN = "MI";
	public static final String MINNESOTA = "MN";
	public static final String MISSISSIPPI = "MS";
	public static final String MISSOURI = "MO";
	public static final String MONTANA = "MT";
	public static final String NEBRASKA = "NE";
	public static final String NEVADA = "NV";
	public static final String NEW_HAMPSHIRE = "NH";
	public static final String NEW_JERSEY = "NJ";
	public static final String NEW_MEXICO = "NM";
	public static final String NEW_YORK = "NY";
	public static final String NORTH_CAROLINA = "NC";
	public static final String NORTH_DAKOTA = "ND";
	public static final String OHIO = "OH";
	public static final String OKLAHOMA = "OK";
	public static final String OREGON = "OR";
	public static final String PENNSYLVANIA = "PA";
	public static final String RHODE_ISLAND = "RI";
	public static final String SOUTH_CAROLINA = "SC";
	public static final String SOUTH_DAKOTA = "SD";
	public static final String TENNESSEE = "TN";
	public static final String TEXAS = "TX";
	public static final String UTAH = "UT";
	public static final String VERMONT = "VT";
	public static final String VIRGINIA = "VA";
	public static final String WASHINGTON = "WA";
	public static final String WEST_VIRGINIA = "WV";
	public static final String WISCONSIN = "WI";
	public static final String WYOMING = "WY";

	/**
	 * Construct this implementation of {@link PoliticalBoundary}. Supply a
	 * state code from the available list of state name constants provided in
	 * this class. For example {@code new USAState(USAState.COLORADO,90)}. You
	 * can reduce key strokes here by using static import statements. If you
	 * already know the country code abbreviation, you can supply it instead.
	 * For example, {@code new USAState("CO",10)}.
	 * <p>
	 * Also supply a color expressed as an integer from 0 to 100 that will be
	 * interpolated along color gradient provided in
	 * {@link MapChart#setColorGradient(Color defaultColor, Color... colorgradient)}
	 * 
	 * @param usaStateCode
	 *            Supply a country code from the constants provided in this
	 *            class or the the abbreviation, if you know it. To save on
	 *            typing, you can just supply the country code abbreviation if
	 *            you know it.
	 * 
	 * @param color
	 *            Define an integer from 0 to 100 that will be positioned along
	 *            the color gradient. The integer you provide here will be
	 *            interpolated with the color gradient that you defined in
	 *            {@link MapChart#setColorGradient(Color defaultColor, Color...
	 *            colorgradient)}.
	 */
	public USAState(final String usaStateCode, final int color) {
		super(usaStateCode,color);
	}
}
